package com.service;

import com.pojo.Books;

import java.util.List;

public interface BookService {

    //add a book
    int addBook(Books books);

    //delete a book
    int deleteBookByID(int id);

    //update a book
    int updateBook(Books books);

    //find a book
    Books querybookbyId(int id);

    //quert all books
    List<Books> queryAllBook();
}
